// localstorage存储token
const setToken = (token) => {
    console.log("=====================已经进入到了setToken方法=======================");
    console.log(token);
    localStorage.setItem('token', token);
    console.log("token已经放进localstorage");
}
const getToken = () => {
    return localStorage.getItem('token');
}
const removeToken = () => {
    localStorage.removeItem('token');
}
export {setToken, getToken,removeToken}